package com.project.daos;

import com.github.pagehelper.PageInfo;
import com.project.entity.Member;
import com.project.entity.Order1;
import com.project.entity.Stall;
import com.project.entity.Vehicle;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface zt_StallMapper {
    List<Stall> selectStall();
    public List<Stall> getStallByUidAndManId(Integer uid,Integer manid);

    public List<Stall> selectStallAll(@Param("size") String stall_size,@Param("code") String stall_code);

    public Stall selStallById(Integer stall_id);

    public Integer updateStall(@Param("stall") Stall stall);

    public Integer addStall(@Param("stall") Stall stall);

    public List<Stall> getStallByUid(@Param("uid") Integer uid);

    public List<Vehicle> selVehicle(Integer vehicle_uid);

    public int updateStall_state(Integer order_stall_id);

    public Member selBalance(Integer stall_id);

    public Member selBalance_order(Integer order_user_id);

    public int updateStall_state_End(int stall_id);

    public int insertOrder1Start(Order1 order1);

    public Vehicle selVehicle_code(Integer order_vehicle_id);

    public Integer updateStallImg(@Param("stallId") Integer stallId,@Param("imgUrl") String imgUrl);
    public List<Stall> getStallByManagementId(@Param("mid") Integer managementId);
}
